<?php
/*
Template Name: Sub Page
*/
?>

<div id='content'>
<?php create_region($page->get('id'),'main_content','html',$admin_edit);?>

<p>just a text field</p>
<?php create_region($page->get('id'),'text_field','text',$admin_edit);?>

<p>this is a textarea</p>
<?php create_region($page->get('id'),'textarea_field','textarea',$admin_edit);?>


<?php //print_r(get_my_parent_page($page->get('id')));?>
<?php //print_r(get_my_child_pages($page->get('id')));?>
</div>
